package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineCreativeWord
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/8/20 16:18
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "查询动态创意词包的返回参数")
public class OceanengineCreativeWord {
    private String message;
    private int code;
    private String request_id;
    private List<DataBean> data;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "查询动态创意词包的返回参数实体-集合")
    public static class DataBean {
        /**
         * learning_phase : DEFAULT
         * ad_id : 1674797963270179
         */

        @ApiModelProperty(value = "创意词包ID")
        private Long creative_word_id;
        @ApiModelProperty(value = "创意词包名称")
        private String name;
        @ApiModelProperty(value = "默认词")
        private String default_word;
        @ApiModelProperty(value = "替换词")
        private String[] words;
        @ApiModelProperty(value = "创意词包类型，详见【附件-创意词包类型】")
        private String content_type;
        @ApiModelProperty(value = "替换词最大长度")
        private Integer max_word_len;
        @ApiModelProperty(value = "创意词包状态，详见【附件-创意词包状态】")
        private String status;
        @ApiModelProperty(value = "创意词包人群覆盖率\n" +
                "取值范围: 0-1")
        private Float rate;

    }
}
